{% extends "index.html" %}
{% block title %}游戏设定{% endblock %}
{% block script %}
    <script>
        $(document).ready(function(){
            $("#options5").attr("checked", "checked")
        });
    </script>
{% endblock %}
{% block style %}

{% endblock %}
{% block side %}
    <div class="container">
    <div class="row">
    <div class="col-md-4 col-md-offset-4">
        <form method="post">
            {% csrf_token %}
            {% for i in list %}
                <div class="radio">
                    <label>
                        <input type="radio" name="options" id="options{{ i }}" value="{{ i }}">
                        {{ i }}
                        {% if i == 5 %}
                            &mdash;推荐
                        {% endif %}
                    </label>
                </div>
            {% endfor %}
            <button type="submit" class="btn btn-default">开始游戏</button>
        </form>
    </div>
    </div>
    </div>
{% endblock %}